

package com.hazelcast.query.impl;

/**
 * Abstraction of Json metadata that is stored either on-heap or off-heap.
 */
public interface JsonMetadata {

    /**
     * Gets the key part of the metadata
     *
     * @return the metadata's key
     */
    Object getKeyMetadata();

    /**
     * Gets the value part of the metadata
     *
     * @return the metadata's value
     */
    Object getValueMetadata();
}
